package study02;
import java.util.Scanner;

/**
* @author GZQ
* @Date 2023/11/5
 */

//温度转换
public class HeatChange {
    public static void main(String[] args) {
        Scanner input = new Scanner(System.in);
        System.out.println("请输入华氏温度：");
        double F = input.nextDouble();
        double c = 5.0 / 9.0 * (F - 32);
        System.out.println("对应的摄氏温度是：" + "\n" + c);
    }
}
